﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.Mapping;
using BLToolkit.DataAccess;

namespace Entities
{
    public class TaiKhoan
    {
        [MapField("IdTaiKhoan"), PrimaryKey, Identity]
        public int MaTaiKhoan { get; set; }
        public string UserName { get; set; }
        public string Password { get; set; }
        [MapField("State")]
        public bool TrangThai { get; set; }
        public int PhanQuyen { get; set; }
        [Association(ThisKey = "IdTaiKhoan", OtherKey = "IdTaiKhoan")]
        public List<QuanLiTaiKhoan> Ds_QLTaiKhoans { get; set; }


    }
}
